package com.coldchain.cys.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * <p>
 * 
 * </p>
 *
 * @author tianpeng
 * @since 2018-09-25
 */
@TableName("t_cys_account_detail")
public class CysAccountDetail implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 余额明细表
     */
    @TableId(value = "id", type = IdType.UUID)
    private String id;

    /**
     * 承运商id
     */
    private String cid;

    /**
     * 交易单号
     */
    private String paycode;

    /**
     * 操作类型id
     */
    private Integer typeid;

    /**
     * 备注
     */
    private String remark;

    /**
     * 1收入 0支出
     */
    private Integer isout;

    /**
     * 原始金额
     */
    private BigDecimal original;

    /**
     * 操作金额
     */
    private BigDecimal cost;

    /**
     * 最终金额
     */
    private BigDecimal last;

    /**
     * 创建时间
     */
    private Date createtime;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getCid() {
        return cid;
    }

    public void setCid(String cid) {
        this.cid = cid;
    }

    public String getPaycode() {
        return paycode;
    }

    public void setPaycode(String paycode) {
        this.paycode = paycode;
    }

    public Integer getTypeid() {
        return typeid;
    }

    public void setTypeid(Integer typeid) {
        this.typeid = typeid;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Integer getIsout() {
        return isout;
    }

    public void setIsout(Integer isout) {
        this.isout = isout;
    }

    public BigDecimal getOriginal() {
        return original;
    }

    public void setOriginal(BigDecimal original) {
        this.original = original;
    }

    public BigDecimal getCost() {
        return cost;
    }

    public void setCost(BigDecimal cost) {
        this.cost = cost;
    }

    public BigDecimal getLast() {
        return last;
    }

    public void setLast(BigDecimal last) {
        this.last = last;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }
}
